
import { get,post } from "../../utils/request"
import { addtype } from "./type"
export const gethouse = (data:object) =>{ 
    return get('houses/list',data);
 }

 export const housesadd = (data:addtype) =>{ 
    return post('houses/add',data);
 }

 export const housesdelete = (id:number) =>{ 
    return get('houses/delete',{id:id});
 }

